package com.xtpt.disaster.mapper;

import com.xtpt.disaster.bean.JobDetail;
import com.xtpt.disaster.bean.JobDetailExample;
import com.xtpt.disaster.bean.TaskInfo;
import com.xtpt.disaster.bean.TaskInfoExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskInfoMapper {
    int insert(TaskInfo record);

    int insertSelective(TaskInfo record);

    TaskInfo selectByPrimaryKey(Long taskId);

    int updateByPrimaryKeySelective(TaskInfo record);

    int updateByPrimaryKey(TaskInfo record);

    List<TaskInfo> selectByExample(TaskInfoExample example);

    List<TaskInfo> selectAll();

    int deleteByPrimaryKey(Long taskId);

    int deleteBatch(long[] ids);
}